arm/km: fix wrong error handling
authorHolger Brunck <[email protected]>
Mon, 27 Jan 2014 15:58:26 +0000 (16:58 +0100)
committerAlbert ARIBAUD <[email protected]>
Thu, 13 Feb 2014 15:17:39 +0000 (16:17 +0100)
commitfa6e0ecb8aeedbc2138c162dc0319920b7e8e34b
treeb6dc31e04276adaf6068821ff48648ffa7cfa5fe
parent56cde17760deacc45866cdc6a2248d0fc245026d
arm/km: fix wrong error handling

miiphy_read and miiphy_write are returning 0 on success.

Signed-off-by: Holger Brunck <[email protected]>
Acked-by: Valentin Longchamp <[email protected]>
board/keymile/km_arm/km_arm.c